﻿<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%  
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
pageContext.setAttribute("ctx",basePath);
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>后台管理系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Cache-Control" content="no-store"/>
	<meta http-equiv="Pragma" content="no-cache"/>
	<meta http-equiv="Expires" content="0"/>    
    <link href="../scripts/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
    <link href="../scripts/resources/css/datetime.css" rel="stylesheet" type="text/css" />
    <link href="../css/app.css" rel="stylesheet" type="text/css" />
    <link href="../css/icon.css" rel="stylesheet" type="text/css" />
    <script> var ctx_path="${pageScope.ctx}"; </script>
    <script type="text/javascript" src="../scripts/ext-base.js"></script>
    <script type="text/javascript" src="../scripts/ext-all.js"></script>
    <script type="text/javascript" src="../scripts/ext-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../fckeditor/fckeditor-min.js"></script>
    <script type="text/javascript" src="../fckeditor/fckExtBander.js"></script>
    <script type="text/javascript" src="../scripts/admin/curdgrid.js"></script>
    <script type="text/javascript" src="../scripts/admin/editorform.js"></script>
    <script type="text/javascript" src="../scripts/admin/treegrid.js"></script>
    <script type="text/javascript" src="../scripts/admin/SearchField.js"></script>
    <script type="text/javascript" src="../upload/swfupload.js"></script>
	<script type="text/javascript" src="../upload/imagefield.js"></script>
    <script type="text/javascript" src="../scripts/admin/datetime-min.js"></script>
    <script type="text/javascript" src="../scripts/admin/ClearableComboBox.js"></script>
    <script type="text/javascript" src="../scripts/admin/pageSize-min.js"></script>
    <script type="text/javascript" src="../scripts/admin/app.js"></script>
    <script>
    //实例化主程序类    
	Ext.BLANK_IMAGE_URL = '../scripts/resources/images/default/s.gif';
	Ext.form.Field.prototype.msgTarget = 'side';	
	Ext.onReady(function(){   
	    Ext.QuickTips.init();   	   
	    myApp = new demo.app(ctx_path);   
	    Ext.Ajax.timeout=3*60*1000 //three minutes
	});
    </script>
    <style>
    .pname{
    margin:5px 10px; font-size:40px;font-weight:bold;
    }
    .version{
    color:red;font-size:28px;margin-left:5px;
    }
    .logout{
    float:right;
    line-height: 40px;
    margin-right:40px;
    }
    </style>
</head>
<body>
<div id="test"></div>
<div id="header"><div><span class="logout"><a target="_self" href="logout">安全退出</a></span><span class="pname">YiLong后台管理系统</span><span class="version">1.0</span></div></div>
<div id="footer"><span style="color:red;font-weight:bolder">POWER BY &copy;<a href="mailto:faylai@gmail.com">faylai@gmail.com</a></span></div>
</body>
</html>
